package org.ruanjj.designprinciple.dependencyinversion;


//低级模块依赖抽象接口，细节依赖抽象
public class LightBulbCorrect implements Switchable{
    @Override
    public void turnOn() {
        System.out.println("电灯打开");
    }

    @Override
    public void turnOff() {
        System.out.println("电灯关闭");
    }
}
